package com.example.wenliangjiudian.service;

import com.example.wenliangjiudian.entity.Customer;
import com.example.wenliangjiudian.entity.Room;
import com.example.wenliangjiudian.pojo.RoomDO;

import java.util.List;

public interface RoomService {
    List<Room> selectAll();

    List<RoomDO> listRoom();

    boolean inRoom(String roomNum, Customer customer);

    void updateStatus(String roomNum, Integer status);

    void deleteRoom(String roomNum);

    boolean addRoom(String roomNum,Integer roomType,Integer price);

    boolean updateRoom(String roomNum, Integer roomType, Integer price);

    Room getRoomByRoomNum(String roomNum);
}


